package com.firmail.mock.center.api;

import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.firmail.mock.center.api.vo.MockMetadata;
import com.firmail.mock.common.model.ReturnData;

import java.io.IOException;

public interface IStdMockCenterServ {

	@RequestMapping(value = "create/xp-mock", method = RequestMethod.POST)
	public ReturnData<?> createCrossPlfMock(@RequestBody MockMetadata data) throws IOException;

	@RequestMapping(value = "create/mock", method = RequestMethod.POST)
	public ReturnData<String> createMock(@RequestBody MockMetadata data);
}
